package com.boot.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.boot.entity.User;

public interface UserDAO extends JpaRepository<User,Long>{
	
	User findByUserName(String userName);
	
	List<User> findAll();
}
